package me.zklh.transaction.domain.types;

import java.math.BigDecimal;

/**
 * 汇率
 */
public class ExchangeRate {

    private String sourceCurrency;

    private String targetCurrency;

    private BigDecimal rate;

    /**
     * 根据汇率转换
     * @param targetMoney
     * @return
     */
    public Money exchangeTo(Money targetMoney) {
        return null;
    }

}
